* {
  margin: 0px;
  padding: 0px;
}

a {
  text-decoration: none;
  color: black;
}


html,
body {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

header {
  width: 100%;
  height: 100px;
  background: url(../static/index/beijing.jpg) no-repeat center -200px;

  h1 {
    margin-left: 20px;
    margin-top: 30px;
    float: left;
    color: #fff;
  }

  span {
    float: right;
    margin-top: 50px;
    margin-right: 5px;
  }

  #headerimg {
    margin: 10px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    float: right;
    background-image: 60px .6rem;
    margin-right: 20px;

    img {
      width: 80px;
      height: 80px;
      border: 2px solid #1678C1;
      border-radius: 50%;
    }
  }
  #signOut{
    float: left;
    width: 100px;
    height: 30px;
    margin-top: 50px;
    margin-left: 50px;
    text-align: center;
    line-height: 30px;
    color: #fff;
    background-color: #1678C1;
    &:hover{
      background-color: #054c83;
    }
  }
}

main {
  flex: 1;
  display: flex;
  flex-direction: row;

  #left {
    width: 200px;
    height: 100%;
    border-right: 1px solid #cccccc;
    background-color: #fff;

    .listName {
      width: 100%;
      height: 50px;
      line-height: 50px;
      text-align: center;
      font-size: 22px;
      background-color: #1678C1;

      span {
        font-size: 23px;
        margin-right: 5px;
      }
    }

    p {
      border-bottom: 1px solid #cccccc;
      width: 100%;
      height: 40px;
      padding-left: 10px;
      line-height: 40px;
      background-color: #f5e2cc;
    }

    ul {
      height: 40px;
      line-height: 40px;
      display: none;
      border-bottom: 1px solid #ddf766;

      li {
        padding-left: 10px;
        line-height: 40px;

        a {
          font-size: 14px;
          text-decoration: none;
          color: black;
        }

        .color {
          color: red;
          margin-left: 10px;
        }

      }

    }
  }

  #right {
    flex: 1px;
    background-color: #fff;
    display: flex;
    flex-direction: column;

    .top {
      width: 100%;
      height: 30px;
      background-color: #cccccc;
      line-height: 30px;
      display: flex;
      flex-direction: row;

      div {
        width: 30px;
        height: 30px;
      }
    }

    .page {
      width: 100%;
      flex: 1;
    }
  }
}